﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace LCA.Community.DAL.Model.Extensions
{
    public class UrlAttribute : RegularExpressionAttribute
    {
        public UrlAttribute()
            : base(@"(http|https)://([\w-]+\.)+[\w-]+(/[\w- ./?%&=]*)?") { }
    }
}
